package com.quectel.constant.core.parking;

import lombok.AllArgsConstructor;
import lombok.Getter;

public class ParkingChargingConstants {

    public static final String MIN_START_TIME = "00:00";

    public static final String MAX_END_TIME = "24:00";

    private static final byte DEFAULT_CAR_TYPE = 2;

    @AllArgsConstructor
    public static enum CarTypeEnum {

        /**
         * 大车
         */
        TRUCK((byte) 1),

        /**
         * 小车
         */
        CAR((byte) 2);

        @Getter
        private final Byte carType;
    }

    @AllArgsConstructor
    public enum ChargingTypeEnum {

        /**
         * 分时计算
         */
        TIME_SHARING((byte) 1);


        @Getter
        private final Byte chargingType;
    }

    @AllArgsConstructor
    public enum StatusEnum {

        /**
         * 禁用
         */
        DISABLE((byte) 0),

        /**
         * 启用
         */
        ENABLE((byte) 1);


        @Getter
        private final Byte status;
    }

    @AllArgsConstructor
    public enum WeekendSiftEnum {

        /**
         * 不区分周末
         */
        NO_SIFT_WEEKEND((byte) 0),

        /**
         * 区分周末
         */
        SIFT_WEEKEND((byte) 1);


        @Getter
        private final Byte mode;
    }
}
